<div class="panel panel-default" ng-controller="RtVehicleDetailCtrl">
	<div class="panel-heading">
		城际约租 / 车辆档案 / 车辆编号：{{vehicle.code}}
		<span style="float: right;margin-top: -7px;height: 0px">
			<button type="submit" class="btn m-b-xs w-xs btn-info" ui-sref="app.rent.vehicle()">返回</button>
		</span>
	</div>
	<div class="row wrapper m-n">
		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-body">车辆详细</div>
			</div>
			<div class="table-responsive" style="margin-top:-20px">
				<table class="table table-striped b-t b-light">
					<tbody>
						<tr>
							<td>车辆编号：{{vehicle.code}}</td>
							<td>车辆型号：{{vehicle.model}}</td>
							<td>车牌号：{{vehicle.number}}</td>
						</tr>
						<tr>
							<td>座位数：{{vehicle.seats}}座</td>
							<td>使用年限：{{vehicle.years}}年</td>
							<td>行驶里程数：{{vehicle.mileage}}公里</td>
						</tr>
						<tr>
							<td>车主姓名：{{vehicle.owner}}</td>
							<td>车主身份证：{{vehicle.idCard}}</td>
							<td>车主手机号：{{vehicle.phone}}</td>
						</tr>
						<tr>
							<td>车主住址：{{vehicle.address}}</td>
							<td>是否年检：
								<span ng-if="vehicle.inspected">已年检</span>
								<span ng-if="!vehicle.inspected">未年检</span>
							</td>
							<td>所属单位：{{vehicle.org.name}}</td>
						</tr>
						<tr>
							<td>保险单号：{{vehicleInsurance.number}}</td>
							<td>保险有效期：{{vehicleInsurance.period | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
							<td>保险备注：{{vehicleInsurance.remark}}</td>
						</tr>
						<tr>
							<td>是否生成资源：
								<span ng-if="vehicle.attached">已生成</span>
								<span ng-if="!vehicle.attached">未生成</span>
							</td>
							<td colspan="2">备注：{{vehicle.remark}}</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-body">司机信息</div>
			</div>
			<div class="table-responsive" style="margin-top:-20px">
				<table class="table table-striped b-t b-light">
					<thead>
						<tr>
							<th>司机编号</th>
							<th>司机姓名</th>
							<th>司机手机号</th>
							<th>当前状态</th>
							<th>所属组织</th>
						</tr>
					</thead>
					<tbody ng-repeat="driver in driverlist">
						<tr>
							<td>{{driver.code}}</td>
							<td>{{driver.name}}</td>
							<td>{{driver.phone}}</td>
							<td>{{driver.status | statusFilter}}</td>
							<td>{{driver.org.name}}</td>
						</tr>
					</tbody>
				</table>

			</div>
		</div>

	</div>
</div>